package cruncher;

public interface ISolutionPool {
	public Solution getMin();
	public Solution getMax();
	public Solution getRandom();
	public void addSolution(Solution s);
	public void replaceSolution(Solution oldS,Solution newS);
	/**
	 * Is a given solution better than the max value solution in the pool?
	 * @param next
	 * @return
	 */
	public boolean isBetterSolution(Solution next);
	public int size();
}
